// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
// import "./views/basicComponents/codeMirror/components/index.less";
import Vue from "vue";
import App from "./App";
import router from "./router";
import "./router/permission";

import Components from "./components";
Vue.use(Components);

//引入ant
import "ant-design-vue/dist/antd.css";
import Antd from "ant-design-vue";
Vue.use(Antd);

//vuex
import store from "./store/index.js";
//eventBus
import eventBus from "./eventBus";
Vue.prototype.$eventBus = eventBus;

//codeMirror

Vue.config.productionTip = false;

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount("#app");
/* eslint-disable no-new */
// new Vue({
//   el: "#app",
//   router,
//   store,
//   components: { App },
//   render: h => h(App),
//   template: "<App/>"
// });
